<!DOCTYPE html>
<html lang="en" xmlns:th='http://www.thymeleaf.org'>
<head>
    <meta charset="UTF-8">
    <title>修改页面</title>
</head>
<body>
<center>
    <div>
        <form action="./update.do" method="post">
            <table border="5">
                <tr>
                    <td> username:</td>
                    <!--readonly属性表示该标签只读-->
                    <td> <input th:value="${name}" type="text" name="user" readonly> </td>
                </tr>

                <tr>
                    <td> password:</td>
                    <td> <input th:value="${password}" type="text" name="pwd"> </td>
                </tr>

                <tr>
                    <td>sex:</td>
                    <td> <input th:value="${sex}" type="text" name="sex"> </td>
                </tr>

                <tr>
                    <td> age:</td>
                    <td> <input th:value="${age}" type="text" name="age"> </td>
                </tr>

                <tr>
                    <td colspan="2" align="center"><input type="submit" value="change"> </td>
                </tr>
            </table>
        </form>
        <a href="index.html">back</a>
    </div>
</center>
</body>
</html>